package com.hoshing.test.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.hoshing.test.entity.TOrder;
import com.hoshing.test.mapper.TOrderMapper;
import com.hoshing.test.service.ITOrderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hskj
 * @since 2021-12-10
 */
@Service
public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> implements ITOrderService {

    @Resource
    TOrderMapper orderMapper;

    @Override
    public List<Map<String, Object>> getAllInfoList() {

        return orderMapper.getAllInfo();
    }
}
